<?php
//排行榜接口
class RankAction extends AuthbaseAction {
	public function __construct()
	{
		parent::__construct();
	}
    public function index(){
    	$type = trim($this->_request("type"));
    	$d = D("Api/Member");
    	$res = $d->ranking($type );
    	exit(json_encode($res));
    }
}